/*
 * @Author: 抱着羊啃 1437670973@qq.com
 * @Date: 2025-05-26 16:21:33
 * @LastEditors: 抱着羊啃 1437670973@qq.com
 * @LastEditTime: 2025-05-28 22:33:45
 * @FilePath: \demo1\src\main\java\org\example\demo1\Entity\ChapterContent.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package org.example.demo1.Entity;

public class ChapterContent {
    private Integer content_id;   // 内容ID（主键）
    private Integer chapter_id;   // 章节ID（外键）
    private String content;       // 章节内容

    public ChapterContent() {
    }

    public ChapterContent(Integer content_id, Integer chapter_id, String content) {
        this.content_id = content_id;
        this.chapter_id = chapter_id;
        this.content = content;
    }

    // Getters 和 Setters
    public Integer getContent_id() {
        return content_id;
    }

    public void setContent_id(Integer content_id) {
        this.content_id = content_id;
    }

    public Integer getChapter_id() {
        return chapter_id;
    }

    public void setChapter_id(Integer chapter_id) {
        this.chapter_id = chapter_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}